package com.ruoyi.common.core.domain.entity.socket.bean;

import com.ruoyi.common.constant.socket.DeviceTypeContant;

/**
 * 行为控制器信息对象。
 */
public class BehaviorControllerInfo extends BaseDataPiece {

    public BehaviorControllerInfo() {
        this((byte) 0, (byte) 1);
    }

    public BehaviorControllerInfo(byte systemCode, byte deviceCode) {
        super(systemCode, deviceCode);
    }

    @Override
    public int getDataPieceLength() {
        return 18;
    }

    @Override
    public void setDeviceType() {
        deviceType = DeviceTypeContant.BehaviorControllerInfo;
    }
}
